package com.hgshop.yudongyang.domain;


public class SpuVo extends Spu {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 26342658894420439L;
	
	int page=1;
	int pageSize=10;
	
	//排序的字段
	String orderField="id";
	//orderField
	
	String orderType="ASC";//默认升序
	
	public int getPage() {
		return page;
	}
	
	public String getOrderField() {
		return orderField;
	}
	public void setOrderField(String orderField) {
		this.orderField = orderField;
	}
	public String getOrderType() {
		return orderType;
	}
	public void setOrderType(String orderType) {
		this.orderType = orderType;
	}
	public void setPage(int page) {
		this.page = page;
	}
	public int getPageSize() {
		return pageSize;
	}
	public void setPageSize(int pageSize) {
		this.pageSize = pageSize;
	}

	@Override
	public String toString() {
		return "SpuVo [page=" + page + ", pageSize=" + pageSize + ", orderField=" + orderField + ", orderType="
				+ orderType + ", toString()=" + super.toString() + ", getId()=" + getId() + ", getGoodsName()="
				+ getGoodsName() + ", getIsMarketable()=" + getIsMarketable() + ", getBrandId()=" + getBrandId()
				+ ", getCaption()=" + getCaption() + ", getCategoryId()=" + getCategoryId() + ", getSmallPic()="
				+ getSmallPic() + ", getCategory()=" + getCategory() + ", getBrand()=" + getBrand() + ", hashCode()="
				+ hashCode() + ", getClass()=" + getClass() + "]";
	}
	
	
	
	
	
}
